package org.example.service;

import org.example.model.Department;
import org.example.model.Teacher;

import java.util.List;
import java.util.Map;

public interface DepartmentService {

    public  int addDepartment(Department department);
    public int updateDepartment(Department department);
    public int deleteDepartment(int departmentId);
    public Department queryDepartmentById(int departmentId);

    public List<Department> queryDepartment();

    public int deleteDepartments(List<Integer> ids);


    List<Department> queryDepartmentByCondition(Map parameters);


    List<Map<String,Object>> queryDepartmentDept();
}
